﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConsultaDadosPaciente.aspx.cs" MasterPageFile="~/Atendimento.Master" Inherits="PROAD.atendimento.Consulta.ConsultaDadosPaciente" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="IncludeHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="IncludeTitulo" runat="server">
<h1>Dados do Paciente</h1>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="IncludeCaminho" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="IncludeConteudo" runat="server">

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
           <br /> <asp:Label ID="lblUsurario" runat="server" ></asp:Label><br /><br />
            <telerik:RadTabStrip ID="rtsDadoPaciente" runat="server" MultiPageID="radConteudo" 
                ontabclick="rtsDadoPaciente_TabClick" >
                <Tabs>
                    <telerik:RadTab Text="Dados Paciente" TabIndex="0" Selected="true">
                     
                    </telerik:RadTab>
                    <telerik:RadTab Text="Etapa Diagnostica" TabIndex="1"></telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>   
         <telerik:RadMultiPage ID="radConteudo" runat="server" SelectedIndex="0" CssClass="multiPage">
                <telerik:RadPageView ID="radPagePaciente" runat="server">
                 <table width="100%" cellpadding="3" cellspacing="0" border="0">
                    <tr>
                        <td colspan="3" >Nome Completo</td>
           
                        <td>Cartão SUS ou Prontuário</td>
                        <td>Sexo</td>
                    </tr>
                      <tr>
                        <td colspan="3" >
                          <asp:TextBox ID="txtNome" runat="server" Width="536px"></asp:TextBox></td>
                        <td>
                          <asp:TextBox ID="txtCpf" runat="server" Width="95px" MaxLength="14"></asp:TextBox>
                         
                          </td>
                        <td>
                          <asp:DropDownList ID="ddlSexo" runat="server" >
                            <asp:ListItem Value="1" Text="Masculino"></asp:ListItem>
                            <asp:ListItem Value="2" Text="Feminino"></asp:ListItem>
                          </asp:DropDownList></td>
                    </tr>
                    <tr>
            <td colspan="5">
                Endereço
            </td>
        </tr>
         <tr>
            <td colspan="5">
                <asp:TextBox ID="txtEndereco" runat="server" Width="750px"></asp:TextBox>
            </td>
        </tr>
          <tr>
            <td>UF</td>
            <td colspan="2">Município</td>
            
            <td>CEP</td>
            <td>Data de Nascimento</td>
        </tr>
          <tr>
            <td><asp:DropDownList ID="ddlUf" runat="server" DataTextField="NO_UF" 
                    DataValueField="CO_UF" onselectedindexchanged="ddlUf_SelectedIndexChanged" AutoPostBack="true" >
              </asp:DropDownList></td>
            <td colspan="2"> <asp:DropDownList ID="ddlMunicipio" runat="server" DataValueField="CO_CIDADE" DataTextField="NO_CIDADE">
              </asp:DropDownList></td>
            <td>
              <asp:TextBox ID="txtCep" runat="server" Width="75px"></asp:TextBox>
              <asp:MaskedEditExtender ID="MaskCep" runat="server" MaskType="Number" TargetControlID="txtCep"
                            Mask="99,999-999" ClearMaskOnLostFocus="false">
                        </asp:MaskedEditExtender>
              </td>
            <td>
              <asp:TextBox ID="txtDataNasc" runat="server" Width="70px"></asp:TextBox>
              <asp:MaskedEditExtender ID="MaskDtNasc" runat="server" MaskType="Number" TargetControlID="txtDataNasc"
                            Mask="99/99/9999" ClearMaskOnLostFocus="false">
                        </asp:MaskedEditExtender>
              </td>
        </tr>
                  <tr>
            <td colspan="3">
              US  
            </td>
            <td colspan="2">
                ES
            </td>
        </tr>
        <tr>
            <td colspan="3">
             <asp:DropDownList ID="ddlUS" runat="server" Width="115px" 
                                 DataValueField="CO_US" DataTextField="NO_US" AutoPostBack="true" 
                                onselectedindexchanged="ddlUS_SelectedIndexChanged"
                                >
                            </asp:DropDownList>  
            </td>
            <td colspan="2">
               <asp:DropDownList ID="ddlEs" runat="server" Width="115px" DataValueField="CO_ES" DataTextField="NO_ES">
                            </asp:DropDownList>
                            <asp:Label ID="lblMsnErroEquipe" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
         <tr>
            <td colspan="3">Telefone</td>
           <%-- <td>Microárea do ACS</td>--%>
            <td colspan="2">Situação</td>
        </tr>
         <tr>
            <td colspan="3">
              <asp:TextBox ID="txtTelefone" runat="server"></asp:TextBox></td>
          <%--  <td><asp:DropDownList ID="ddlMicroArea" runat="server" Width="169px">
              </asp:DropDownList></td>--%>
            <td colspan="2"><asp:DropDownList ID="ddlSituacao" runat="server">
                <asp:ListItem Value="0" Text="Inativo"></asp:ListItem>
                <asp:ListItem Value="1" Text="Ativo"></asp:ListItem>
              </asp:DropDownList></td>
        </tr>
                     <tr>
                        <td colspan="5">&nbsp;</td>
                     </tr>
                      <tr>
                        <td colspan="5">
                        <div style="margin-left:780px">
                                   <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" />&nbsp;&nbsp;
                                   <asp:Button ID="btnSalvar" runat="server" Text="Salvar" />
                                   </div>
                        </td>
                     </tr>
                </table>
    
                </telerik:RadPageView>
        </telerik:RadMultiPage>

          
          </ContentTemplate>
        </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="IncludeRodape" runat="server">
</asp:Content>

